/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package envasesdeleste.dom;

import java.util.ArrayList;

/**
 *
 * @author Javs
 */
public class Categoria implements IPersistente {
    private int Cod;
    private String Nom;

    public Categoria(int Cod, String Nom) {
        this.Cod = Cod;
        this.Nom = Nom;
    }
    public Categoria() {
        
    }

    public int getCod() {
        return Cod;
    }

    public void setCod(int Cod) {
        this.Cod = Cod;
    }

    public String getNom() {
        return Nom;
    }

    public void setNom(String Nom) {
        this.Nom = Nom;
    }

    @Override
    public void guardar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void modificar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void eliminar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public ArrayList obtenerTodos() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public ArrayList obtenerTodos(int numero) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
    
}
